package dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@Schema(name = "ImageClassAddDTO", title = "新增图库分类数据模型", description = "新增图库分类时传递的数据模型")
public class ImageClassAddDTO {
    @Schema(description = "图库分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "新鲜果蔬")
    private String name;
    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "120")
    private Integer order;
}
